Contents | Index | < Browse | Browse >

LETTERstrerrorULETTER Returns an error code's message.

Overview
#include <string.h>

msg = strerror(error);

char *msg;
int error;

Portability
ANSI

Description
Returns a pointer to the error message belonging to the error code passed. Do not modify this string!

Returns
A pointer to an error string.

See also
perror